#ifndef USERENTITY_H
#define USERENTITY_H

#include <QString>

class UserEntity
{
public:
    UserEntity();

    QString getAddress();
    void setAddress(QString address);
    QString getCity();
    void setCity(QString city);
    int getDeleted();
    void setDeleted(int deleted);
    QString getJoinedDate();
    void setJoinedDate(QString joined_date);
    QString getName();
    void setName(QString name);
    QString getNicNo();
    void setNicNo(QString nic_no);
    QString getPassword();
    void setPassword(QString password);
    int getPerm();
    void setPerm(int perm);
    QString getPhone();
    void setPhone(QString phone);
    int getUserId();
    void setUserId(int user_id);
    QString getUsername();
    void setUsername(QString username);

private:
    int user_id;
    QString name;
    QString address;
    QString city;
    QString nic_no;
    QString phone;
    QString joined_date;
    int perm;
    QString username;
    QString password;
    int deleted;
};

#endif // USERENTITY_H
